package com.miao.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.miao.admin.dao.AdminStoreDao;
import com.miao.common.entity.pojo.Store;
import com.miao.common.entity.pojo.StoreDirector;
import com.miao.admin.service.AdminStoreService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 商店表(Store)表服务实现类
 *
 * @author MiaoWenqing
 * @since 2021-02-02 10:14:35
 */
@Service("storeService")
public class AdminStoreServiceImpl extends ServiceImpl<AdminStoreDao, Store> implements AdminStoreService {


    @Resource
    private AdminStoreDao adminStoreDao;

    @Override
    public List<StoreDirector> storeApplyAll() {
        return this.adminStoreDao.storeApplyAll();
    }

    @Override
    public List<StoreDirector> storeAll() {
        return this.adminStoreDao.storeAll();
    }
}